import request from "@/utils/request";


export default {
    mine: () => request.get(`/aries/api/user/mine`),
    login: (params: any) => request.post(`/aries/api/user/login`, params),
    sellerList: () => request.get(`/aries/api/user/listForShop`),
    list: (params: any) => request.get(`/aries/api/user/list`, {
        params
    }),
    info: (params: any) => request.get(`/aries/api/user/info`, {
        params
    }),
    passwordChange: (params: any) => request.post(`/aries/api/user/passwordChange`, params),
    avatarChange: (avatar: any) => request.put(`/aries/api/user/avatarChange?avatar=${avatar}`),
}
